package com.xs.project.entity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 等风来
 * @since 2024-08-13
 */
public class UserBase implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 学号
     */
    private Integer userNumber;

    /**
     * 老师或学生
     */
    private Integer userType;

    /**
     * 手机号
     */
    private Integer phoneNum;

    /**
     * 密码
     */
    private String password;

    /**
     * 邮箱
     */
    private String emailNum;

    /**
     * 班级
     */
    private Integer classNum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(Integer userNumber) {
        this.userNumber = userNumber;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(Integer phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmailNum() {
        return emailNum;
    }

    public void setEmailNum(String emailNum) {
        this.emailNum = emailNum;
    }

    public Integer getClassNum() {
        return classNum;
    }

    public void setClassNum(Integer classNum) {
        this.classNum = classNum;
    }

    @Override
    public String toString() {
        return "UserBase{" +
            "id = " + id +
            ", userName = " + userName +
            ", userNumber = " + userNumber +
            ", userType = " + userType +
            ", phoneNum = " + phoneNum +
            ", password = " + password +
            ", emailNum = " + emailNum +
            ", classNum = " + classNum +
        "}";
    }
}
